package cn.icare.cms.model.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "AddItemCatRO",description = "商品分类新增参数对象类")
public class AddItemCatRO {
    @ApiModelProperty(value = "父类ID,根目录的值=0",required = true)
    private Long parentId;
    @ApiModelProperty(value = "分类名称",required = true)
    private String name;
    @ApiModelProperty(value = "排序号，从大到小排列",required = true)
    private Integer sortIndex;
    @ApiModelProperty(value = "层级路径,根目录传入空值")
    private String  parentPath;


    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSortIndex() {
        return sortIndex;
    }

    public void setSortIndex(Integer sortIndex) {
        this.sortIndex = sortIndex;
    }

    public String getParentPath() {
        return parentPath;
    }

    public void setParentPath(String parentPath) {
        this.parentPath = parentPath;
    }
}
